<!DOCTYPE html>
<html lang="en" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/admin}" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>小鱼-首页</title>
</head>
<body layout:fragment="content" data-th-object="${statistics}">
<style>
    .color-box:hover{
        opacity: 1;
        text-decoration: none;
        color: #333;
        transform: scale(1.08);
        transition: all .3s;
    }
    .color-box{
        color: white;
        height: 100%;
        text-align: center;
        display: block;
    }
    .col-height{
        height: 150px;
    }

</style>
<div>
    <div class="row bg-title">
        <div class="col-lg-12">
            <h2 class="page-header">首页</h2>
        </div>
        <div class="row">
            <!--<div class="col-md-4 col-height">
                <div class="color-box" style="background-color: #ee9966">
                    <p style="font-size: 45px" data-th-text="${prize}"></p>
                    <p style="font-size: 20px">
                        <i class="fa fa-user"></i>
                        <span>奖池积分</span>
                    </p>
                </div>
            </div>-->
            <div class="col-md-4 col-height">
                <a class="color-box" style="background-color: #2cc642" th:href="@{'/admin/users'}">
                    <p style="font-size: 45px" data-th-text="${userCount}"></p>
                    <p style="font-size: 20px" >
                        <i class="fa fa-list"></i>
                        <span>用户总数</span>
                    </p>
                </a>
            </div>
            <!--<div class="col-md-4 col-height">
                <a class="color-box" style="background-color: #00aff0" target="_Blank" href="http://fengpai.daoyintech.com/admin/products">
                    <p style="font-size: 45px" data-th-text="${product}"></p>
                    <p style="font-size: 20px" >
                        <i class="fa fa-check-square-o"></i>
                        <span>商品总数</span>
                    </p>
                </a>
            </div>-->
        </div>
    </div>
</div>

</body>
</html>